﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Root2.master" AutoEventWireup="true" CodeFile="XemThongTinBe.aspx.cs" Inherits="XemThongTinBe" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder_center" runat="Server">
    <style type="text/css">
        .cot1 {
            width: 18%;
            height: 22px;
            vertical-align: top;
        }

        .cot2 {
            width: 70%;
            height: 32px;
            vertical-align: top;
            padding-bottom: 5px;
        }

        .placeBox span {
            display: block;
        }

        .placeBox.thongbao {
        }

        fieldset {
            background: #f8f8f8;
            border-radius: 7px;
            margin-bottom: 10px;
            margin-right: 10px;
            padding: 10px;
        }

            fieldset legend {
                display: block;
                background: #ffffff;
                margin-left: 20px;
                padding: 3px;
                font-size: 15px;
                line-height: 1;
                color: #555555;
                font-weight: bold;
                *padding: 0 0 5px 145px;
                *line-height: 1.5;
            }

        .form li {
            list-style-type: none;
            margin: 13px 0px;
            display: inline-block;
        }

        .form-clear li {
            clear: both;
            width: 100%;
        }

    </style>
    <fieldset>
        <legend>Thông tin tiêm</legend>
        <asp:Label ID="lbTimkiem" runat="server">Nhập thông tin </asp:Label>
        <div class="placeBox">
            <div id="divsitebar" class="divsitebar">
            </div>
            <div id="frmDangKy" runat="server" style="padding-right: 8px; padding-bottom: 20px; color: #333">
                <span style="padding: 10px 0px; color: #0075BA">Để xem thông tin và lịch sử tiêm của bé vui lòng nhập đầy đủ thông tin tìm kiếm !</span>
                <asp:Label ID="messageKQ" runat="server" Visible="false" ></asp:Label>
                <ol class="form form-clear">
                    <li>
                        <label>Số Chứng minh bố mẹ: </label>
                        <asp:TextBox ID="txtCM" runat="server" Width="100px"></asp:TextBox>
                        <label>Mã bé: </label>
                        <asp:TextBox ID="txtMB" runat="server" Width="80px"></asp:TextBox>
                        <asp:Button ID="btnTimkiem" runat="server" Text="Tìm Kiếm" OnClick="btnTimkiem_Click"/>
                    </li>
                </ol>
                <table>

                    <tr>
                        <td class="cot1">Thông tin bé:
                        </td>
                        <td class="cot2">
                            <asp:Label ID="lbHoten" runat="server"></asp:Label>
                            
                        </td>
                    </tr>
                    <tr>
                        <td class="cot1">Mã bé:
                        </td>
                        <td class="cot2">
                            <asp:Label ID="lbMabe" runat="server"></asp:Label>
                        </td>
                    </tr>

                    <tr>
                        <td class="cot1">Ngày sinh:
                        </td>
                        <td class="cot2">
                            <asp:Label ID="lbNgaysinh" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td class="cot1">Giới tính:
                        </td>
                        <td class="cot2">
                            <asp:Label ID="lbGioitinh" runat="server"></asp:Label>
                        </td>
                    </tr>

                    <tr>
                        <td class="cot1">Địa chỉ:
                        </td>
                        <td class="cot2">
                            <asp:Label ID="lbDiachi" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td class="cot1">Chứng minh thư bố mẹ:
                        </td>
                        <td class="cot2">
                            <asp:Label ID="lbChungminhthu" runat="server"></asp:Label>
                        </td>
                    </tr>
                </table>
            </div>

        </div>
        <div id="listChiTietTiem" runat="server">
            <asp:ListView ID="ListViewChiTietTiem" runat="server">
                <LayoutTemplate>
                    <table border="1">
                        <tr>                            
                            <th>Tên bé</th>
                            <th>Tên vacxin</th>
                            <th>Nhân viên Tiêm</th>
                            <th>Nhân viên tư vấn tiêm</th>
                            <th>Liều lượng</th>
                            <th>Thông tin tiêm</th>
                            <th>Thời gian tiêm</th>                            
                        </tr>
                        <asp:PlaceHolder ID="itemPlaceholder" runat="server"></asp:PlaceHolder>
                    </table>                    
                </LayoutTemplate>
                <ItemTemplate>
                    <tr>
                        <td><%# Eval("TenBe") %></td>
                        <td><%# Eval("TenVC") %></td>
                        <td><%# Eval("NhanVienTiem") %></td>
                        <td><%# Eval("NhanVienTuVan") %></td>
                        <td><%# Eval("LieuLuong") %></td>  
                        <td><%# Eval("Thongtintiem") %></td>
                        <td><%# Eval("ThoiGianTiem") %></td>                                                   
                    </tr>
                </ItemTemplate>
            </asp:ListView>
        </div>
    </fieldset>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder_left" runat="server">
    <div class="column left" style="width: 191px; float: left; margin-right: 5px;">
        <div class="menu_vertical_animated" style="margin-top: 0px; margin-bottom: 10px;">
            <div class="menu_vertical_animated_header">
                <div class="menu_vertical_animated_header_text">DANH MỤC THÔNG TIN</div>
                <div class="clear"></div>
            </div>
            <div id=" " class="menu_vertical_animated_body">
                <ul class="menu_vertical_animated_body">
                    <li id="subCate_73496_3417">
                        <ul>
                            <li><a href="ThongTinTaiKhoan.aspx">Thông tin tài khoản</a></li>

                            <li><a href="XemThongTinBe.aspx">Thông tin bé</a></li>
                        </ul>

                    </li>

                </ul>

            </div>
            <script type="text/javascript">$('#widget73496').vAnimatedMenu({ speed: 200, selectedItem: '' });</script>
        </div>
    </div>
</asp:Content>
